package com.jintian.smart.base.api.system.dto;

import com.jintian.smart.base.api.system.constant.DataScopeTypeEnum;
import com.jintian.smart.base.api.system.constant.DataScopeWhereInTypeEnum;
import com.jintian.smart.kernel.core.domain.IDto;
import lombok.Data;

/**
 * 数据范围
 */
@Data
public class DataScopeSqlConfig implements IDto {
    /**
     * 数据范围类型
     * {@link DataScopeTypeEnum}
     */
    private DataScopeTypeEnum dataScopeType;

    /**
     * join sql 具体实现类
     */
    private Class<?> joinSqlImplClazz;

    private String joinSql;

    private Integer whereIndex;

    private String paramName;

    /**
     * whereIn类型
     * {@link DataScopeWhereInTypeEnum}
     */
    private DataScopeWhereInTypeEnum dataScopeWhereInType;
}
